package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import com.zhangtai.modules.entity.employee.PromotionEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PromotionBatchDto {

    /**
     *
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    /**
     *
     */
    @ApiModelProperty("申请人")
    private String applyer;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("申请人工号")
    private String applyerCode;
    /**
     *
     */
    private Long unitId;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("申请人部门名称")
    private String unitname;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("申请人岗位")
    private String jobname;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("晋升类型")
    private Integer type;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("人数")
    private Integer number;
    /**
     *
     */
    /**
     *
     */
    @ApiModelProperty("文件url")
    private String fileUrl;
    /**
     *
     */
    private Date createTime;

    private Integer isDelete;

    private String promotionCode;

    private String reason;

    /**
     *
     */
    @ApiModelProperty("晋升人员列表")
    private List<PromotionDto> promotionList;
}
